Class NAryBooleanExpression

java.lang.Object
edu.uky.ai.lp.logic.BooleanExpression
edu.uky.ai.lp.logic.NAryBooleanExpression
All Implemented Interfaces:
Expression, Formula
Direct Known Subclasses:
Conjunction, Disjunction

public abstract class NAryBooleanExpression
extends BooleanExpression
The superclass of any Boolean expression with multiple arguments.
Author:
Stephen G. Ware
  • Field Details

  • Constructor Details

    • NAryBooleanExpression

      public NAryBooleanExpression​(java.lang.String operator, Expression[] arguments)
      Constructs a new N-ary Boolean expression with the given arguments.
      Parameters:
      operator - the Boolean operator used
      arguments - the arguments to which the operator applies